<h1>datetime_ex</h1>
<p>Extended date and time related functions. Works with sub commands (parameters) and returns a vallue acording to the command. <br />
Supported commands (parameters):</p>
<ul>
  <li>year<br />
    - returns the current year  </li>
  <li>month<br />
  - returns the current month </li>
  <li>day<br />
  - returns the current day </li>
  <li>hour<br />
  - returns the current hour </li>
  <li>minute<br />
  - returns the current minute </li>
  <li>second<br />
  - returns the current second </li>
  <li>dayofweek<br />
  - returns the current day of the week </li>
  <li>dayofyear<br />
  - returns the current day of the year </li>
  <li>daysinmonth<br />
  - returns the number of days in the current month </li>
  <li>secondselapsed<br />
  - returns the seconds elapsed from the actual day's 0:00:00 </li>
  <li>inettime<br />
  - calculates the current swatch internet time </li>
  <li>getnettime<br />
  - gets time from time.nist.gov via ntp</li>
  <li>nettimeoffset<br />
  - calculate local time &amp; net time difference in seconds</li>
  <li>unixtime<br />
   - gets current unix time</li>
  <li>unix2date<br />
  - converts a unix time to a regular datetime</li>
  <li>date2unix<br />
    - converts a date to unix time, requires a date in the folowing format: year.month.day hour:minute:second. Time part is not necesary. </li>
  <li>diff<br />
  - calculates the difference between two dates</li>
  <li>secs2time<br />
    - converts seconds to a datetime</li>
  <li>netsync<br />
    - synchronize local time to NTP server time
</li>
</ul>
<h2>parameters: </h2>
<ol>
  <li>a controll command. (see above) </li>
  <li>an additional parameter (if required) </li>
</ol>
